
package com.wyzz.hr.bo;

import java.util.List;
import org.hibernate.criterion.DetachedCriteria;

import com.wyzz.hr.pojo.Empcontract;
import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.util.Pager;

public interface IEmpContractBo {

	public abstract boolean saveContract(Empcontract empcontract);

	public abstract List searchByEmpNo(String s);

	public abstract List findContract(DetachedCriteria detachedcriteria,
			Pager pager, String s);

	public abstract List findContractByEmp(DetachedCriteria detachedcriteria,
			Pager pager, String s);

	public abstract String insert(Empcontract empcontract);

	public abstract String update(Empcontract empcontract, String s, String s1);

	public abstract String delete(Empcontract empcontract);

	public abstract Empcontract getById(String s);

	public abstract boolean deleteAttach(String s, String s1);

	public abstract void updateObj(Object obj);

	public abstract int hasConflictInTime(Empcontract empcontract);

	public abstract List getContractListByEmp(Employee employee);

	public abstract boolean insertList(List list);
}
